$(function(){

var obj = {
            url:"/shixun/new?plate=经管学院",
            dataType:"json",
            type:"get",
            success:function(data){
            var Data = data;
            var mtgz1 = [];
            var tzgg1 = [];
            var xsjl1 = [];



                    //媒体关注
                    for(var i=0;i<Data.length;i++){
                
                        if(Data[i].modula=="媒体关注"){
                        mtgz1.push(Data[i]);
                         }               
                    }
                    var mtgz1_titles = document.getElementsByClassName("mtgz1_title");
                    for(var i=0;i<mtgz1_titles.length;i++){
                        mtgz1_titles[i].innerHTML=mtgz1[i].title;
                    }
                    var mtgz1_date = document.getElementsByClassName("time5");
                    for(var i=0;i<mtgz1_date.length;i++){
                        mtgz1_date[i].innerHTML=mtgz1[i].time;
                    }


                    //通知公告
                    for(var i=0;i<Data.length;i++){
                
                        if(Data[i].modula=="通知公告"){
                        tzgg1.push(Data[i]);
                         }               
                    }
                    var tzgg1_titles = document.getElementsByClassName("tzgg1_title");
                    for(var i=0;i<tzgg1_titles.length;i++){
                        tzgg1_titles[i].innerHTML=tzgg1[i].title;
                    }
                    var tzgg1_date = document.getElementsByClassName("time6");
                    for(var i=0;i<tzgg1_date.length;i++){
                        tzgg1_date[i].innerHTML=tzgg1[i].time;
                    }


                    //学术交流
                    for(var i=0;i<Data.length;i++){
                
                        if(Data[i].modula=="学术交流"){
                        xsjl1.push(Data[i]);
                         }               
                    }
                    var xsjl1_titles = document.getElementsByClassName("xsjl1_title");
                    for(var i=0;i<xsjl1_titles.length;i++){
                        xsjl1_titles[i].innerHTML=xsjl1[i].title;
                    }
                    var xsjl1_date = document.getElementsByClassName("time7");
                    for(var i=0;i<xsjl1_date.length;i++){
                        xsjl1_date[i].innerHTML=xsjl1[i].time;
                    }


},
            error:function(e){
                            console.log(e);
                        }
            }
    $.ajax(obj);            


})